projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d86f1
)
(mouse-secondary-save-then-kill): When making the undo item,
author
Richard M. Stallman
<rms@gnu.org>
Thu, 22 Jul 1993 07:15:49 +0000
(07:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 22 Jul 1993 07:15:49 +0000
(07:15 +0000)
use an integer, not a marker, for the position.
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index 03beeac69bab4f15b0c8b066968c163344890877..a7e14a021df769d5c8f65df2c8394bbd15226f4c 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-456,7
+456,7
@@
which prepares for a second click to delete the text."
;; Make the undo list by hand so it is shared.
(if (not (eq buffer-undo-list t))
(setq buffer-undo-list
- (cons (cons (car kill-ring)
start
)
+ (cons (cons (car kill-ring)
(marker-position start)
)
buffer-undo-list))))
;; Otherwise, save this region.
(save-excursion